//
//  EMSSkillPlannerSkillNodeLayer.h
//  EVE Mac Suite
//
//  Created by Vadim Lozko on 4/25/09.
//  Copyright 2009  __Vadim__. All rights reserved.
//

#define SIDE_OFFSET						10.0f
#define WIDTH							250.0f

#import <Cocoa/Cocoa.h>
#import <QuartzCore/QuartzCore.h>

@class EMSSkillPlannerTreeNode;
@class EVECDCharacter;

@interface EMSSkillPlannerSkillNodeLayer : CALayer {

	@private
	
	EMSSkillPlannerTreeNode* _representativeNode; 
	EMSSkillPlannerSkillNodeLayer* _parentNodeLayer;
	CATextLayer* _titleTextLayer;
	CATextLayer* _currentLevelTextLayer;
	CATextLayer* _requiredLevelTextLayer;
	CATextLayer* _thisTimeTextLayer;
	CATextLayer* _prequesitesTimeTextLayer;
}

@property (retain) EMSSkillPlannerTreeNode* representativeNode;
@property (assign) EMSSkillPlannerSkillNodeLayer* parentNodeLayer;

+(void)initialize;
+(id)nodeLayerWithRepresentation:(EMSSkillPlannerTreeNode*)aNode;

-(void)updateThisTimeLayer;
-(void)updatePrequisiteTimeTextLayer;

@end

